package com.fqgj.sentry.manage.service;

import com.fqgj.sentry.manage.entity.McLogEntity;
import com.github.pagehelper.Page;



/**
 * Created by ykpbean kangping.ying@yuntu-inc.com
 *
 * @description
 * @create 2017-07-15 下午8:25
 */


public interface LogService {
    /**
     * 根据用户,邮箱,获取操作日志
     * @param userId
     * @return
     */
    public Page<McLogEntity> selectLogListForPage(Long userId, String email, Integer pageNum, Integer pageSize);

    /**
     * 插入一条日志记录
     * @param logEntity
     */
    public  void insertLog(McLogEntity logEntity);
}
